package com.example.orderservice.Controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Random;

/**
 * Created with IntelliJ IDEA 2023.
 * Description:
 * User: 故我
 * Date: 2024-02-12
 * Time: 22:21
 */
@RestController
@RequestMapping("/order")
public class OrderController {
    @RequestMapping("/getcount")
    public int getCount() {
        return new Random().nextInt(200);
    }
}
